import phRequest from "./index"

export const getTopMv = (offset,limit = 10)=> phRequest.get('/top/mv',{offset,limit})
/**
 * 请求MV的播放地址
 * @param {number} id //MV的id
 */
export const getMvUrl = (id) => phRequest.get('/mv/url',{id})

/**
 * 请求Mv的数据
 * @param { number } id
 */
export const getMvDetail = (mvid) => phRequest.get('/mv/detail',{mvid})

/**
 * 获取相关视频
 * @param {number} id
 */
export const getMvRelated = (id) => phRequest.get('/related/allvideo',{id})